package com.chunmeng.pojo;

import java.util.Date;

public class ProfilePojo {
    /**id*/
    private Integer id;
    /**头像*/
    private String via;
    /**昵称*/
    private String registration;
    /**年龄*/
    private Integer age;
    /**生日*/
    private Date birthday;
    /**账户*/
    private String account;
    /**密码*/
    private String password;
    /**注册时间*/
    private Date regTime;
    /**邮箱*/
    private String email;
    /**电话*/
    private String phone;

    public ProfilePojo() {
    }
    public ProfilePojo(String account, String password, String email, String phone, Date regTime) {
        this.account = account;
        this.password = password;
        this.email = email;
        this.phone = phone;
        this.regTime = regTime;
    }
    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getVia() {
        return via;
    }

    public void setVia(String via) {
        this.via = via == null ? null : via.trim();
    }

    public String getRegistration() {
        return registration;
    }

    public void setRegistration(String registration) {
        this.registration = registration == null ? null : registration.trim();
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public Date getBirthday() {
        return birthday;
    }

    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account == null ? null : account.trim();
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password == null ? null : password.trim();
    }

    public Date getRegTime() {
        return regTime;
    }

    public void setRegTime(Date regTime) {
        this.regTime = regTime;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email == null ? null : email.trim();
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone == null ? null : phone.trim();
    }

    @Override
    public String toString() {
        return "ProfilePojo{" +
                "id=" + id +
                ", via='" + via + '\'' +
                ", registration='" + registration + '\'' +
                ", age=" + age +
                ", birthday=" + birthday +
                ", account='" + account + '\'' +
                ", password='" + password + '\'' +
                ", regTime=" + regTime +
                ", email='" + email + '\'' +
                ", phone='" + phone + '\'' +
                '}';
    }
}